package com.scraper.articles.web.dao;

import com.scraper.articles.web.model.Request;

import java.util.List;

public interface RequestDao {

    /*
     * CREATE and UPDATE
     */
    public void saveRequest(Request request); // create and update

    /*
     * READ
     */
    public List<Request> listRequests();

    public Request getRequest(Long id);

    /*
     * DELETE
     */
    public void deleteRequest(Long id);
}
